package com.whenjun.dto.account;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Auther: shirley
 * @Date: 2023/7/25 23:05
 * @Description:
 */
@Data
public class AccountPermissionUpdateReq implements Serializable {

    @NotEmpty(message = "id为空")
    @ApiModelProperty(value = "用户id",required = true)
    private String id;

    @NotNull(message = "parkPermissions为空")
    @ApiModelProperty(value = "权限信息",required = true)
    private List<AuthPermissionDTO> authPermissions;
}
